﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace WebAssistant.BusinessLogic.Model
{
    [SugarTable("settings")]
    public class Settings
    {

        /// <summary>
        /// 配置KEY
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "key")]
        public string Key { get; set; }

        /// <summary>
        /// 配置值
        /// </summary>
        [SugarColumn(ColumnName = "value")]
        public string Value { get; set; }

        public Settings()
        {

        }

        public Settings(string key, string value)
        {
            this.Key = key;
            this.Value = value;
        }
    }
}
